package cn.itsource.crm.service.impl;

import cn.itsource.crm.domain.Warranty;
import cn.itsource.crm.mapper.WarrantyMapper;
import cn.itsource.crm.query.WarrantyQuery;
import cn.itsource.crm.service.IWarrantyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WarrantyServiceImpl extends BaseServiceImpl<Warranty> implements IWarrantyService {

    @Autowired
    private WarrantyMapper warrantyMapper;

    @Override
    public void deleteMany(WarrantyQuery warrantyQuery) {

        warrantyMapper.deleteMany(warrantyQuery);

    }
}